package response;


public enum  Resimpl implements Res {
    /*** 20000:"成功" */
    SUCCESS(20000, "成功"),
    /*** 20001:"失败" */
    ERROR(20001, "失败"),
    ;
    private Integer code;
    private String message;

    Resimpl(Integer code,String message){
        this.code=code;
        this.message=message;
    }
    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
